/*
 * Copyright(c) 2018-? the original author[Wien(luweien@aliyun.com)] or authors.
 *
 */
package org.doll.it.swagger2;

import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Data;

/**
 * 属性配置
 * 
 * @author Wien(luweien@aliyun.com)
 *
 */
@Data
@ConfigurationProperties(prefix = "doll.swagger2")
public class DollSwagger2Porperties {

	/** Doll项目包路径：org.doll.it */
	public static String BASE_PACKAGE_DOLL = "org.doll.it";

	/** 默认标题：Api Documentation */
	public static String DEFAULT_TITLE = "Api Documentation";

	/** 默认版本 */
	public static String DEFAULT_VERSION = "1.0";

	/**
	 * 是否启用。默认值：是
	 */
	private Boolean enabled = true;

	/**
	 * API接口扫描路径。默认值：所有
	 */
	private String basePackage = BASE_PACKAGE_DOLL;

	/**
	 * 文档标题
	 */
	private String title = DEFAULT_TITLE;

	/**
	 * 文档说明
	 */
	private String description = DEFAULT_TITLE;

	/**
	 * API版本
	 */
	private String version = DEFAULT_VERSION;

	/**
	 * 作者
	 */
	private String author;

	/**
	 * 作者主页URL
	 */
	private String url;

	/**
	 * 作者Email
	 */
	private String email;

	private String license;

	private String licenseUrl;

	private String termsOfServiceUrl;
}
